home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_S_e_t_P_r_o_t_o_c_o_l_H_o_o_k_s - A VendorShell function that allows pre
- and post actions to be executed when a protocol message is
- received from MWM
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Xm.h>
- #include <Xm/Protocols.h>
-
- void XmSetProtocolHooks (sssshhhheeeellllllll,,,, pppprrrrooooppppeeeerrrrttttyyyy,,,, pppprrrroooottttooooccccoooollll,,,, pppprrrreeeehhhhooooooookkkk,,,, pppprrrreeee____cccclllloooossssuuuurrrreeee,,,,
- ppppoooosssstttthhhhooooooookkkk,,,, ppppoooosssstttt____cccclllloooossssuuuurrrreeee)
- _W_i_d_g_e_t sssshhhheeeellllllll;
- _A_t_o_m pppprrrrooooppppeeeerrrrttttyyyy;
- _A_t_o_m pppprrrroooottttooooccccoooollll;
- _X_t_C_a_l_l_b_a_c_k_P_r_o_c pppprrrreeeehhhhooooooookkkk;
- _X_t_P_o_i_n_t_e_r pppprrrreeee____cccclllloooossssuuuurrrreeee;
- _X_t_C_a_l_l_b_a_c_k_P_r_o_c ppppoooosssstttthhhhooooooookkkk;
- _X_t_P_o_i_n_t_e_r ppppoooosssstttt____cccclllloooossssuuuurrrreeee;
-
- _v_o_i_d _X_m_S_e_t_W_M_P_r_o_t_o_c_o_l_H_o_o_k_s (sssshhhheeeellllllll,,,, pppprrrroooottttooooccccoooollll,,,, pppprrrreeeehhhhooooooookkkk,,,, pppprrrreeee____cccclllloooossssuuuurrrreeee,,,,
- ppppoooosssstttthhhhooooooookkkk,,,, ppppoooosssstttt____cccclllloooossssuuuurrrreeee)
- _W_i_d_g_e_t sssshhhheeeellllllll;
- _A_t_o_m pppprrrroooottttooooccccoooollll;
- _X_t_C_a_l_l_b_a_c_k_P_r_o_c pppprrrreeeehhhhooooooookkkk;
- _X_t_P_o_i_n_t_e_r pppprrrreeee____cccclllloooossssuuuurrrreeee;
- _X_t_C_a_l_l_b_a_c_k_P_r_o_c ppppoooosssstttthhhhooooooookkkk;
- _X_t_P_o_i_n_t_e_r ppppoooosssstttt____cccclllloooossssuuuurrrreeee;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_S_e_t_P_r_o_t_o_c_o_l_H_o_o_k_s is used by shells that want to have pre
- and post actions executed when a protocol message is
- received from MWM. Since there is no guaranteed ordering in
- execution of event handlers or callback lists, this allows
- the shell to control the flow while leaving the protocol
- manager structures opaque.
-
- _X_m_S_e_t_W_M_P_r_o_t_o_c_o_l_H_o_o_k_s is a convenience interface. It calls
- _X_m_S_e_t_P_r_o_t_o_c_o_l_H_o_o_k_s with the property value set to the atom
- returned by interning _W_M__P_R_O_T_O_C_O_L_S.
-
- sssshhhheeeellllllll
- Specifies the widget with which the protocol property
- is associated
-
- pppprrrrooooppppeeeerrrrttttyyyy
- Specifies the protocol property
-
- pppprrrroooottttooooccccoooollll
- Specifies the protocol atom (or an int cast to Atom)
-
- pppprrrreeeehhhhooooooookkkk
- Specifies the procedure to call before calling entries
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX))))
-
-
-
- on the client callback-list
-
- pppprrrreeee____cccclllloooossssuuuurrrreeee
- Specifies the client data to be passed to the prehook
- when it is invoked
-
- ppppoooosssstttthhhhooooooookkkk
- Specifies the procedure to call after calling entries
- on the client callback-list
-
- ppppoooosssstttt____cccclllloooossssuuuurrrreeee
- Specifies the client data to be passed to the posthook
- when it is invoked
-
- For a complete definition of VendorShell and its associated
- resources, see _V_e_n_d_o_r_S_h_e_l_l(_3_X).
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _V_e_n_d_o_r_S_h_e_l_l(_3_X), _X_m_I_n_t_e_r_n_A_t_o_m(_3_X), and
- _X_m_S_e_t_W_M_P_r_o_t_o_c_o_l_H_o_o_k_s(_3_X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-